﻿

namespace ProduceBasicData.Api.DTO.IncomingMaterialsDto
{
    /// <summary>
    /// 检验方案DTO
    /// </summary>
    public class InspectionSchemeDto
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 系统编码
        /// </summary>
        public string? InspectionSchemeCode { get; set; }
        /// <summary>
        /// 检验方案名称（如“测试方案”“继电器”）
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 检验类型（如“全检”“抽检”）
        /// </summary>
        public string? Type { get; set; }

        /// <summary>
        /// 抽检方式（如“百分比”，仅抽检类型有效）
        /// </summary>
        public string? SamplingMethod { get; set; }

        /// <summary>
        /// 抽检参数值（如“15%”“30%”，与抽检方式配合）
        /// </summary>
        public string? Value { get; set; }

        /// <summary>
        /// 检验方案描述信息
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdel { get; internal set; }
    }
}
